package com.ruoyi.blog.dto;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * @author: user1
 * date: 2021/11/21
 */
public class TAddBlog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long blogId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long authorId;

    /** 文章标题 */
    @Excel(name = "文章标题")
    private String title;

    /** 文章正文id */
    @Excel(name = "文章正文Html")
    private String content;

    /** 文章正文id */
    @Excel(name = "文章正文输入")
    private String contentWrite;

    /** 分类id */
    @Excel(name = "分类id")
    private Long categoryId;

    /** 简介 */
    @Excel(name = "简介")
    private String introduction;

    /** 封面图片地址 */
    @Excel(name = "封面图片地址")
    private String coverImgUrl;

    /** 类型状态（0正常 1停用） */
    @Excel(name = "类型状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 是否热门（0表示普通，1表示热门） */
    @Excel(name = "是否热门", readConverterExp = "0=表示普通，1表示热门")
    private Boolean isHot;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long likeCount;

    public void setBlogId(Long blogId)
    {
        this.blogId = blogId;
    }

    public Long getBlogId()
    {
        return blogId;
    }
    public void setAuthorId(Long authorId)
    {
        this.authorId = authorId;
    }

    public Long getAuthorId()
    {
        return authorId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setIntroduction(String introduction)
    {
        this.introduction = introduction;
    }

    public String getIntroduction()
    {
        return introduction;
    }
    public void setCoverImgUrl(String coverImgUrl)
    {
        this.coverImgUrl = coverImgUrl;
    }

    public String getCoverImgUrl()
    {
        return coverImgUrl;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsHot(Boolean isHot)
    {
        this.isHot = isHot;
    }

    public String getContentWrite() {
        return contentWrite;
    }

    public void setContentWrite(String contentWrite) {
        this.contentWrite = contentWrite;
    }

    public Boolean getIsHot()
    {
        return isHot;
    }
    public void setLikeCount(Long likeCount)
    {
        this.likeCount = likeCount;
    }

    public Long getLikeCount()
    {
        return likeCount;
    }

}
